package lu.med.praxiswahl.wahlumed.client.accountmanagement;

/**
 * 
 * @author Lars Holger Roth
 */
public class UserAccount
{
    private String userName = "";
    private String password = "";
    private boolean readLieferanten = true;
    private boolean writeLieferanten = true;
    private boolean readArztDatabase = true;
    private boolean writeArztDatabase = true;

    private boolean admin = false;
    private boolean analysenIntern = false;
    private boolean cashBook = false;
    private boolean arztbriefe = false;
    private boolean arztdatabase = false;
    private boolean gravtest = false;
    private boolean kalender = false;
    private boolean laborbuch = false;
    private boolean lieferanten = false;
    private boolean mahnungen = false;
    private boolean oprechnungen = false;
    private boolean ordonancen = false;
    private boolean patienten = false;
    private boolean rechnungen = false;
    private boolean tarif = false;
    private boolean zytologiezettel = false;
    private boolean zytologiebuch = false;

    public UserAccount()
    {
    }

    public String getPassword()
    {
	return password;
    }

    public String getUserName()
    {
	return userName;
    }

    public boolean hasRightsReadArztDatabase()
    {
	return this.readArztDatabase;
    }

    public boolean hasRightsReadLieferanten()
    {
	return this.readLieferanten;
    }

    public boolean hasRightsWriteLieferanten()
    {
	return this.writeLieferanten;
    }

    public boolean hasRightWriteArztDatabase()
    {
	return this.writeArztDatabase;
    }

    public boolean isAdmin()
    {
	return admin;
    }

    public boolean isAnalysenIntern()
    {
	return analysenIntern;
    }

    public boolean isArztbriefe()
    {
	return arztbriefe;
    }

    public boolean isArztdatabase()
    {
	return arztdatabase;
    }

    public boolean isGravtest()
    {
	return gravtest;
    }

    public boolean isKalender()
    {
	return kalender;
    }

    public boolean isLaborbuch()
    {
	return laborbuch;
    }

    public boolean isLieferanten()
    {
	return lieferanten;
    }

    public boolean isMahnungen()
    {
	return mahnungen;
    }

    public boolean isOprechnungen()
    {
	return oprechnungen;
    }

    public boolean isOrdonancen()
    {
	return ordonancen;
    }

    public boolean isPatienten()
    {
	return patienten;
    }

    public boolean isReadArztDatabase()
    {
	return readArztDatabase;
    }

    public boolean isReadLieferanten()
    {
	return readLieferanten;
    }

    public boolean isRechnungen()
    {
	return rechnungen;
    }

    public boolean isTarif()
    {
	return tarif;
    }

    public boolean isWriteArztDatabase()
    {
	return writeArztDatabase;
    }

    public boolean isWriteLieferanten()
    {
	return writeLieferanten;
    }

    public boolean isZytologiebuch()
    {
	return zytologiebuch;
    }

    public boolean isZytologiezettel()
    {
	return zytologiezettel;
    }

    public void setAdmin(boolean admin)
    {
	this.admin = admin;
    }

    public void setAnalysenIntern(boolean analysenIntern)
    {
	this.analysenIntern = analysenIntern;
    }

    public void setArztbriefe(boolean arztbriefe)
    {
	this.arztbriefe = arztbriefe;
    }

    public void setArztdatabase(boolean arztdatabase)
    {
	this.arztdatabase = arztdatabase;
    }

    public void setGravtest(boolean gravtest)
    {
	this.gravtest = gravtest;
    }

    public void setKalender(boolean kalender)
    {
	this.kalender = kalender;
    }

    public void setLaborbuch(boolean laborbuch)
    {
	this.laborbuch = laborbuch;
    }

    public void setLieferanten(boolean lieferanten)
    {
	this.lieferanten = lieferanten;
    }

    public void setMahnungen(boolean mahnungen)
    {
	this.mahnungen = mahnungen;
    }

    public void setOprechnungen(boolean oprechnungen)
    {
	this.oprechnungen = oprechnungen;
    }

    public void setOrdonancen(boolean ordonancen)
    {
	this.ordonancen = ordonancen;
    }

    public void setPassword(String password)
    {
	this.password = password;
    }

    public void setPatienten(boolean patienten)
    {
	this.patienten = patienten;
    }

    public void setReadArztDatabase(boolean readArztDatabase)
    {
	this.readArztDatabase = readArztDatabase;
    }

    public void setReadLieferanten(boolean readLieferanten)
    {
	this.readLieferanten = readLieferanten;
    }

    public void setRechnungen(boolean rechnungen)
    {
	this.rechnungen = rechnungen;
    }

    public void setTarif(boolean tarif)
    {
	this.tarif = tarif;
    }

    public void setUserName(String userName)
    {
	this.userName = userName;
    }

    public void setWriteArztDatabase(boolean writeArztDatabase)
    {
	this.writeArztDatabase = writeArztDatabase;
    }

    public void setWriteLieferanten(boolean writeLieferanten)
    {
	this.writeLieferanten = writeLieferanten;
    }

    public void setZytologiebuch(boolean zytologiebuch)
    {
	this.zytologiebuch = zytologiebuch;
    }

    public void setZytologiezettel(boolean zytologiezettel)
    {
	this.zytologiezettel = zytologiezettel;
    }

    public boolean isCashBook()
    {
	return cashBook;
    }

    /**
     * @param cashBook the cashBook to set
     */
    public void setCashBook(boolean cashBook)
    {
        this.cashBook = cashBook;
    }
    
    

}
